

package com.hazelcast.cp.internal.datastructures.cpmap;

/**
 * Exists ONLY to remove the CPMapService.SERVICE_NAME dependency from OS to Enterprise that is induced by the
 * PERMISSION_FACTORY_MAP in {@link com.hazelcast.security.permission.ActionConstants} and the duplication of an important String
 * literal which we don't want to get out of sync.
 */
public class CPMapServiceUtil {
    /**
     * Name that the CPMapService is registered under. Note that this is here to remove the dependency from OS to Enterprise
     * within the key of {@link com.hazelcast.security.permission.ActionConstants}'s PERMISSION_FACTORY_MAP. This should NOT be
     * referenced by any other usage in OS other than this single scenario.
     */
    public static final String SERVICE_NAME = "hz:raft:mapService";

    private CPMapServiceUtil() {
    }
}
